package com.sayice.design.lab4_2;

/**
 * @author shubing
 */
public class Client {
    public static void main(String[] args) {
        Member user1 = new Member("小明");
        Member user2 = new Member("小华");
        user1.shareTo(user2);
        Group group = new Group("软工一班");
        group.addMember(user1);
        group.addMember(user2);
        Member user3 = new Member("小王");
        user3.shareTo(group);
        group.shareTo(user3);
    }
}
